//
//  IdentifyResultsCell.m
//  LuxuryGoods
//
//  Created by DCQ on 2018/8/4.
//  Copyright © 2018年 Future. All rights reserved.
//

#import "IdentifyResultsCell.h"
@interface IdentifyResultsCell()
@property (weak, nonatomic) IBOutlet UIImageView *imgV;
@property (weak, nonatomic) IBOutlet UIButton *jimaiBtn;
@property (weak, nonatomic) IBOutlet UIButton *recyclingBtn;

@end
@implementation IdentifyResultsCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.jimaiBtn.layer.masksToBounds = YES;
    self.jimaiBtn.layer.cornerRadius = 30/2;
    self.jimaiBtn.layer.borderColor = [UIColor clearColor].CGColor;
    self.jimaiBtn.layer.borderWidth = 1;
    
    self.recyclingBtn.layer.masksToBounds = YES;
    self.recyclingBtn.layer.cornerRadius = 30/2;
    self.recyclingBtn.layer.borderColor = [UIColor clearColor].CGColor;
    self.recyclingBtn.layer.borderWidth = 1;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (IBAction)jimaiAction:(id)sender {
    if (self.btnBlock) {
        self.btnBlock(IdentifyResultsType_jimai);
    }
}
- (IBAction)recyclingAction:(id)sender {
    if (self.btnBlock) {
        self.btnBlock(IdentifyResultsType_huishou);
    }
}

@end
